<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>英语查询网站</title>
</head>
<body>

<div style="width: 800px; margin: 20px auto">
    <form method="post" action="/main">
        请输入英文单词：
        <input type="text" name="keyword">
        <input type="submit" name="submit" value="查询">
    </form>

    <hr/>

    {% autoescape false %}
    {{ result | replace("\\n", "<br/>") }}
    {% endautoescape %}
</div>

</body>
</html>